/*! Copyright 2012 jQuery Foundation and other contributors
 * Includes:
 * - normalize.css v1.0.1 | MIT License | git.io/normalize
 * - Font Awesome - http://fortawesome.github.com/Font-Awesome - CC BY 3.0
 */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	padding: 20px;
	font-size: 14px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

h2 {
	font-weight: bold;
	color: #000099;
	margin: 10px 0px;
}

p span {
	color: #006600;
	font-weight: bold;
}

/* ==========================================================================
   header
   ========================================================================== */
#header {
	height: 60px;
	margin: 0 auto;
}

#logo-div {
	font-size: 35px;
	font-weight: bold;
	float: left;
}

#setting-div {
	margin: 15px 0 0 0;
	float: right;
}

#lang-div {
	margin: 10px 0 0 0;
	position: relative;
	float: left;
	font-weight: bold;
}

#user-div {
	margin: 12px 0 0 0;
	position: relative;
	float: left;
}

#user-div a {
	text-decoration: none;
	background-color: #000;
	border-radius: 5px 5px 5px 5px;
}

#user-div a:hover {
	background-color: #3f3f3f;
}

#user-div a span {
	color: #fff;
}

/*******************
LOGIN FORM
*******************/

.login-form {
	width: 300px;
	margin: 0 auto;
	position: relative;
	
	background: #f3f3f3;
	border: 1px solid #fff;
	border-radius: 5px;
	
	box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.login-form .header {
	padding: 40px 30px 30px 30px;
}

.login-form .header h1 {
	font-family: 'Bree Serif', serif;
	font-weight: 300;
	font-size: 28px;
	line-height:34px;
	color: #414848;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
	margin-bottom: 10px;
}

.login-form .header span {
	font-size: 11px;
	line-height: 16px;
	color: #678889;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
}
.login-form .content {
	padding: 0 30px 25px 30px;
}

/* Input field */
.login-form .content .input {
	width: 188px;
	padding: 15px 25px;
	
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #9d9e9e;
	text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
	
	background: #fff;
	border: 1px solid #fff;
	border-radius: 5px;
	
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}

/* Second input field */
.login-form .content .password, .login-form .content .pass-icon {
	margin-top: 25px;
}

.login-form .content .input:hover {
	background: #dfe9ec;
	color: #414848;
}

.login-form .content .input:focus {
	background: #dfe9ec;
	color: #414848;
	
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}

.user-icon, .pass-icon {
	width: 46px;
	height: 47px;
	display: block;
	position: absolute;
	left: 0px;
	padding-right: 2px;
	z-index: -1;
	
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

.user-icon {
	top:153px; /* Positioning fix for slide-in, got lazy to think up of simpler method. */
	background: rgba(65,72,72,0.75) url(http://www.demo.amitjakhu.com/login-form/images/user-icon.png) no-repeat center;	
}

.pass-icon {
	top:201px;
	background: rgba(65,72,72,0.75) url(http://www.demo.amitjakhu.com/login-form/images/pass-icon.png) no-repeat center;
}

.content input:focus + div{
	left: -46px;
}

/* Animation */
.input, .user-icon, .pass-icon, .button, .register {
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
}
.login-form .footer {
	padding: 25px 30px 40px 30px;
	overflow: auto;
	
	background: #d4dedf;
	border-top: 1px solid #fff;
	
	box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
	-moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
	-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.15);
}

/* Login button */
.login-form .footer .button {
	float:right;
	padding: 11px 25px;
	
	font-family: 'Bree Serif', serif;
	font-weight: 300;
	font-size: 18px;
	color: #fff;
	text-shadow: 0px 1px 0 rgba(0,0,0,0.25);
	
	background: #56c2e1;
	border: 1px solid #46b3d3;
	border-radius: 5px;
	cursor: pointer;
	
	box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
	-moz-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
	-webkit-box-shadow: inset 0 0 2px rgba(256,256,256,0.75);
}

.login-form .footer .button:hover {
	background: #3f9db8;
	border: 1px solid rgba(256,256,256,0.75);
	
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.login-form .footer .button:focus {
	position: relative;
	bottom: -1px;
	
	background: #56c2e1;
	
	box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
	-moz-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
	-webkit-box-shadow: inset 0 1px 6px rgba(256,256,256,0.75);
}

/* Register button */
.login-form .footer .register {
	display: block;
	float: right;
	padding: 10px;
	margin-right: 20px;
	
	background: none;
	border: none;
	cursor: pointer;
	
	font-family: 'Bree Serif', serif;
	font-weight: 300;
	font-size: 18px;
	color: #414848;
	text-shadow: 0px 1px 0 rgba(256,256,256,0.5);
}

.login-form .footer .register:hover {
	color: #3f9db8;
}

.login-form .footer .register:focus {
	position: relative;
	bottom: -1px;
}

/* ==========================================================================
   menu
   ========================================================================== */
#cssmenu {
	height: 37px;
	display: block;
	padding: 0;
	margin: 0;
	border: 1px solid;
	border-radius: 5px;
}

#cssmenu>ul {
	list-style: inside none;
	padding: 0;
	margin: 0;
}

#cssmenu>ul>li {
	list-style: inside none;
	padding: 0;
	margin: 0;
	float: left;
	display: block;
	position: relative;
}

#cssmenu>ul>li>a {
	outline: none;
	display: block;
	position: relative;
	padding: 12px 20px;
	font: bold 13px/100% Arial, Helvetica, sans-serif;
	text-align: center;
	text-decoration: none;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

#cssmenu>ul>li:first-child>a {
	border-radius: 5px 0 0 5px;
}

#cssmenu>ul>li>a:after {
	content: '';
	position: absolute;
	border-right: 1px solid;
	top: -1px;
	bottom: -1px;
	right: -2px;
	z-index: 99;
}

#cssmenu ul li.has-sub:hover>a:after {
	top: 0;
	bottom: 0;
}

#cssmenu>ul>li.has-sub>a:before {
	content: '';
	position: absolute;
	top: 18px;
	right: 6px;
	border: 5px solid transparent;
	border-top: 5px solid #fff;
}

#cssmenu>ul>li.has-sub:hover>a:before {
	top: 19px;
}

#cssmenu ul li.has-sub:hover>a {
	background: #3f3f3f;
	border-color: #3f3f3f;
	padding-bottom: 13px;
	padding-top: 13px;
	top: -1px;
	z-index: 999;
}

#cssmenu ul li.has-sub:hover>ul,#cssmenu ul li.has-sub:hover>div {
	display: block;
}

#cssmenu ul li.has-sub>a:hover {
	background: #3f3f3f;
	border-color: #3f3f3f;
}

#cssmenu ul li>ul,#cssmenu ul li>div {
	display: none;
	width: auto;
	position: absolute;
	top: 38px;
	padding: 10px 0;
	background: #3f3f3f;
	border-radius: 0 0 5px 5px;
	z-index: 999;
}

#cssmenu ul li>ul {
	width: 200px;
}

#cssmenu ul li>ul li {
	display: block;
	list-style: inside none;
	padding: 0;
	margin: 0;
	position: relative;
}

#cssmenu ul li>ul li a {
	outline: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 8px 20px;
	font: 10pt Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

#cssmenu,#cssmenu>ul>li>ul>li a:hover {
	background: #333333;
	background: -moz-linear-gradient(top, #333333 0%, #222222 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333),
		color-stop(100%, #222222) );
	background: -webkit-linear-gradient(top, #333333 0%, #222222 100%);
	background: -o-linear-gradient(top, #333333 0%, #222222 100%);
	background: -ms-linear-gradient(top, #333333 0%, #222222 100%);
	background: linear-gradient(top, #333333 0%, #222222 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(                    startColorstr='#333333',
		endColorstr='#222222', GradientType=0 );
}

#cssmenu {
	border-color: #000;
}

#cssmenu>ul>li>a {
	border-right: 1px solid #000;
	color: #fff;
}

#cssmenu>ul>li>a:after {
	border-color: #444;
}

#cssmenu>ul>li>a:hover {
	background: #111;
}

/* ==========================================================================
   footer
   ========================================================================== */
#footer {
	height: 80px;
	padding: 10px 0;
	background: black;
	color: #b6b6b6;
	font-size: 16px;
	background: url(footer_background.jpg) top left repeat-x;
	margin: 0 auto;
}

#footer .panel {
	width: 25%;
	float: left;
}

#footer .about {
	padding-right: 2%;
	background: url(footer_divider.png) top right repeat-y;
}

#footer .share {
	padding: 0 2%;
	background: url(footer_divider.png) top right repeat-y;
}